package cho114366.basic;

public class J01_Subject {

	public static void main(String[] args) {
		// 1. 변수 선언
				String departnumber;
				String departname;
				String departindex;
				String departteacher;
				
				String departnumber1;
				String departname1;
				String departindex1;
				String departteacher1;
				
				String departnumber2;
				String departname2;
				String departindex2;
				String departteacher2;
				
				String departnumber3;
				String departname3;
				String departindex3;
				String departteacher3;
				
				departnumber = "0205";
				departname = "프로그래밍";
				departindex = "자바 프로그래밍";
				departteacher = "301";
				
				departnumber1 = "0211";
				departname1 = "드레스 코드";
				departindex1 = "옷 입기의 기초";
				departteacher1 = "445";
				
				departnumber2 = "5029";
				departname2 = "생활의 참견";
				departindex2 = "음식의 영양";
				departteacher2 = "556";
				
				departnumber3 = "4111";
				departname3 = "악마의 사도";
				departindex3 = "종교와 철학, 과학의 얽힘";
				departteacher3 = "504";
				
				// 2. 처리
				
				// 3. 결과 출력
				System.out.println("과목번호\t과목명\t\t과목개요\t\t담당교수");
				System.out.println("---------------------------------------------");
				System.out.print(departnumber);
				System.out.print("\t"+departname);
				System.out.print("\t\t"+departindex);
				System.out.println("\t"+departteacher);
				
				System.out.println("---------------------------------------------");
				System.out.print(departnumber1);
				System.out.print("\t"+departname1);
				System.out.print("\t\t"+departindex1);
				System.out.println("\t"+departteacher1);
				
				System.out.println("---------------------------------------------");
				System.out.print(departnumber2);
				System.out.print("\t"+departname2);
				System.out.print("\t\t"+departindex2);
				System.out.println("\t\t"+departteacher2);
				
				System.out.println("---------------------------------------------");
				System.out.print(departnumber3);
				System.out.print("\t"+departname3);
				System.out.print("\t\t"+departindex3);
				System.out.println("\t"+departteacher3);


	}

}

